package com.ruoyi.oa.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用车记录对象 oa_apply_record
 * 
 * @author allen
 * @date 2025-01-04
 */
public class OaApplyRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long applyId;

    /** 申请状态 */
    @Excel(name = "申请状态")
    private String applyStatus;

    /** 申请人id */
    @Excel(name = "申请人id")
    private Long applyEmpId;

    /** 申请理由 */
    @Excel(name = "申请理由")
    private String applyReason;

    /** 审批人id */
    @Excel(name = "审批人id")
    private Long approverId;

    /** 审批人回复 */
    @Excel(name = "审批人回复")
    private String approvalReason;

    public void setApplyId(Long applyId) 
    {
        this.applyId = applyId;
    }

    public Long getApplyId() 
    {
        return applyId;
    }
    public void setApplyStatus(String applyStatus) 
    {
        this.applyStatus = applyStatus;
    }

    public String getApplyStatus() 
    {
        return applyStatus;
    }
    public void setApplyEmpId(Long applyEmpId) 
    {
        this.applyEmpId = applyEmpId;
    }

    public Long getApplyEmpId() 
    {
        return applyEmpId;
    }
    public void setApplyReason(String applyReason) 
    {
        this.applyReason = applyReason;
    }

    public String getApplyReason() 
    {
        return applyReason;
    }
    public void setApproverId(Long approverId) 
    {
        this.approverId = approverId;
    }

    public Long getApproverId() 
    {
        return approverId;
    }
    public void setApprovalReason(String approvalReason) 
    {
        this.approvalReason = approvalReason;
    }

    public String getApprovalReason() 
    {
        return approvalReason;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("applyId", getApplyId())
            .append("applyStatus", getApplyStatus())
            .append("applyEmpId", getApplyEmpId())
            .append("applyReason", getApplyReason())
            .append("approverId", getApproverId())
            .append("approvalReason", getApprovalReason())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
